# -*- coding:utf-8 -*-
"""
@Created on : 2022/4/22 22:02
@Author: binkuolo
@Des: api路由
"""
from fastapi import APIRouter
# from api.endpoints.test import test_oath2
# from api.endpoints import user, role, access, websocket
# from api.extends import sms, wechat, cos
from api.user import queryUserByUserId,login

api_router = APIRouter(prefix="/api")
api_router.post("/getUser", tags=["获取id"])(queryUserByUserId)
api_router.get("/login", tags=["获取login"])(login)
# api_router.include_router(user.router, prefix='/admin', tags=["用户管理"])
# api_router.include_router(role.router, prefix='/admin', tags=["角色管理"])
# api_router.include_router(access.router, prefix='/admin', tags=["权限管理"])
# api_router.include_router(websocket.router, prefix='/ws', tags=["WebSocket"])
# api_router.include_router(wechat.router, prefix='/wechat', tags=["微信授权"])
# api_router.include_router(sms.router, prefix='/sms', tags=["短信接口"])
# api_router.include_router(cos.router, prefix='/cos', tags=["对象存储接口"])